//------------------------------------------------------------------------------
// Copyright (c) 2012 by Silicon Laboratories. 
// All rights reserved. This program and the accompanying materials
// are made available under the terms of the Silicon Laboratories End User 
// License Agreement which accompanies this distribution, and is available at
// http://developer.silabs.com/legal/version/v10/License_Agreement_v10.htm
// Original content and implementation provided by Silicon Laboratories.
//------------------------------------------------------------------------------

//==============================================================================
// WARNING:
//
// This file is auto-generated by AppBuilder and should not be modified.
// Any hand modifications will be lost if the project is regenerated.
//==============================================================================

#ifndef __GCPU_H__
#define __GCPU_H__

#include <stdint.h>

// MODE FUNCTIONS
void cpu_update(void);

// SUPPORT FUNCTIONS
void set_ahb_clock(uint32_t freq);
uint32_t get_msTicks(void);
void halt(void);

// NVIC table location
# define si32McuOption_map_vectors_to_ram 0

# if si32McuOption_map_vectors_to_ram
void (*si32_nvic_table[SIM3U1XX_MCU_NVIC_COUNT])(void);
# define si32McuOption_vector_ram_base si32_nvic_table

# endif

// sysTick Variable
extern volatile uint32_t msTicks;

void gCpu_enter_default_config(void);

#endif // __GCPU_H__

//---eof------------------------------------------------------------------------
